using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class PhanLoaiTaiKhoanDTO
    {
        #region 1 - Cac thuoc tinh

        private int m_iMaLoaiTaiKhoan;
        private string m_strTenTaiKhoan;
        private string m_strMieuTa;
        private Boolean m_blPhieuNhapSach;
        private Boolean m_blHoaDonBanSach;
        private Boolean m_blPhieuThuTien;
        private Boolean m_blBaoCao;
        private Boolean m_blQuiDinh;

        #endregion

        #region 2 - Cac property

        public int MaLoaiTaiKhoan
        {
            get { return m_iMaLoaiTaiKhoan; }
            set { m_iMaLoaiTaiKhoan = value; }
        }

        public string TenTaiKhoan
        {
            get { return m_strTenTaiKhoan; }
            set { m_strTenTaiKhoan = value; }
        }

        public string MieuTa
        {
            get { return m_strMieuTa; }
            set { m_strMieuTa = value; }
        }

        public Boolean PhieuNhapSach
        {
            get { return m_blPhieuNhapSach; }
            set { m_blPhieuNhapSach = value; }
        }

        public Boolean HoaDonBanSach
        {
            get { return m_blHoaDonBanSach; }
            set { m_blHoaDonBanSach = value; }
        }

        public Boolean PhieuThuTien
        {
            get { return m_blPhieuThuTien; }
            set { m_blPhieuThuTien = value; }
        }

        public Boolean BaoCao
        {
            get { return m_blBaoCao; }
            set { m_blBaoCao = value; }
        }

        public Boolean QuiDinh
        {
            get { return m_blQuiDinh; }
            set { m_blQuiDinh = value; }
        }

        #endregion

        #region 3 - Phuong thuc khoi tao

        public PhanLoaiTaiKhoanDTO()
        {
            this.m_iMaLoaiTaiKhoan = -1;
            this.m_strTenTaiKhoan = "";
            this.m_strMieuTa = "";
            this.m_blPhieuNhapSach = false;
            this.m_blHoaDonBanSach = false;
            this.m_blPhieuThuTien = false;
            this.m_blBaoCao = false;
            this.m_blQuiDinh = false;
        }

        #endregion
    }
}
